package cn.wolfcode.service;

import cn.wolfcode.domain.SystemDictionaryItem;
import cn.wolfcode.qo.QueryObject;
import cn.wolfcode.qo.SystemDictionaryItemQueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface SystemDictionaryItemService {
    void delete(Long id);

    SystemDictionaryItem get(Long id);

    List<SystemDictionaryItem> listAll();

    // 分页查询的方法
    PageInfo<SystemDictionaryItem> query(QueryObject qo);

    PageInfo<SystemDictionaryItem> selectBySdId(SystemDictionaryItemQueryObject qo);

    void saveOrUpdate(SystemDictionaryItem systemDictionaryItem);

    List<SystemDictionaryItem> selectByItemSn(String sn);
}
